package us.gaaoc.framework.model;

/**
 * This class objectifies the documentBinaries table.
 * 
 * @author Brandon Denney
 * @date 2008/07/21
 * @version GAJE 2.x
 *
 */
public class DocumentBinaries implements java.io.Serializable {

	/* **************** *
	 * Global Variables *
	 * **************** */
	
	/** Default Serial Version UID */
	private static final long serialVersionUID = 1L;
	private String uuid;
	private Documents metaDataUuid;
	private int version;
	private String path;
	private Person person;
	
	/* ******* *
	 * Getters * 
	 * ******* */
	
	/**
	 * Getter for the uuid primary key.
	 * 
	 * @return the primary key for the documentBinaries table.
	 */
	public String getUuid() {
		return uuid;
	}
	
	/**
	 * Getter for the metaDataUuid foreign key.
	 * 
	 * @return the foreign key to the documents table meta data information.
	 */
	public Documents getMetaDataUuid() {
		return metaDataUuid;
	}
	
	/**
	 * Getter for the version variable.
	 * 
	 * @return the version of the particular document.
	 */
	public int getVersion() {
		return version;
	}
	
	/**
	 * Getter for the path String.
	 * 
	 * @return the path where the document is stored on the file system.
	 */
	public String getPath() {
		return path;
	}
	
	/* ******* *
	 * Setters *
	 * ******* */
	
	/**
	 * Setter for the uuid primary key.
	 * 
	 * @param uuid the primary key for the documentBinaries table.
	 */
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	/**
	 * Setter for the metaDataUuid foreign key.
	 * 
	 * @param metaDataUuid the foreign key to the documents table meta data
	 * information.
	 */
	public void setMetaDataUuid(Documents metaDataUuid) {
		this.metaDataUuid = metaDataUuid;
	}

	/**
	 * Setter for the version variable.
	 * 
	 * @param version the version of the particular document.
	 */
	public void setVersion(int version) {
		this.version = version;
	}

	/**
	 * Setter for the path String.
	 * 
	 * @param path the path where the document is stored on the file system.
	 */
	public void setPath(String path) {
		this.path = path;
	}
	
	
	public Person getPerson() {
		return person;
	}
	
	
	public void setPerson(Person person) {
		this.person = person;
	}
}
